package com.atguigu.cloud.entities.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author ChengY
 * @since 2024/5/15 15:10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "支付记录DTO")
public class PayDTO implements Serializable {

    @Schema(description = "支付记录ID")
    private Integer id;

    // 支付流水号
    @Schema(description = "支付流水号")
    private String payNo;

    // 订单流水号
    @Schema(description = "订单流水号")
    private String orderNo;

    // 用户账号ID
    @Schema(description = "用户账号ID")
    private Integer userId;

    // 交易金额
    @Schema(description = "交易金额")
    private BigDecimal amount;
}